import request from '@/utils/request'

// 查询参数列表
export function listArrange (query) {
    return request({
        url: '/arrange/list',
        method: 'get',
        params: query
    })
}

export function saveArrange (data) {
    return request({
        url: '/arrange/save',
        method: 'post',
        data: data
    })
}

export function delArrange (data) {
    return request({
        url: '/arrange/'+data,
        method: 'post',
    })
}

export function listTree(query) {
    return request({
        url: '/arrange/list/tree',
         method: 'get',
         params: query
    })
}
